const pk = require('../package.json')
const libName = `tw-lib-${pk.name}`
const libPackage = require(`../src/${libName}/package.json`)
const fs = require('fs')
const path = require('path')

pk.dependencies = libPackage.dependencies || {}

fs.writeFileSync(path.resolve('./package.json'), JSON.stringify(pk, null, 2))
